﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="PaymentMachineAccountQuery.aspx.cs" Inherits="NetDon.OA.Portal.eLogisticsQuery.PaymentMachineAccountQuery" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
        <script type="text/javascript">

            function search() {
                $dialog('<%=ResolveUrl("~/eLogisticsQuery/ReportView.aspx") %>?ReportCode=PaymentMachineAccountQuery', { width: $common.getClientBounds().width, height: window.top.$common.getClientBounds().height - 100 }, function (result) {
                    if (result) {

                    }
                });
            }
</script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanelFlow" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server" DefaultButton="btnSearch">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <NetDon:FormPanel ID="PanelCondition" runat="server" CaptionAlign="NotSet" RepeatColumns="3">
                                <Items>
                                         <NetDon:FormItem HeaderText="订单编号">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtOrderCode" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="运输计划号">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtTransportationPlanCode" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                      <NetDon:FormItem HeaderText="客户">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlCustomer" runat="server" DataSourceID="ObjectDataSourceCustomers"
                                                DataTextField="CustomerName" DataValueField="CustomerId" AppendDataBoundItems="true"
                                                AutoPostBack="False">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ObjectDataSourceCustomers" runat="server" OldValuesParameterFormatString="original_{0}"
                                                SelectMethod="RetrieveCustomers" TypeName="NetDon.OA.Business.MiscDataSource">
                                                <SelectParameters>
                                                    <asp:Parameter Name="areaId" />
                                                </SelectParameters>
                                            </asp:ObjectDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                              <NetDon:FormItem HeaderText="线路分类">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlRouteTypeId" DataSourceID="ddsRouteTypeId" AppendDataBoundItems="True"
                                                runat="server" DataTextField="Name" DataValueField="Value">
                                            </asp:DropDownList>
                                            <NetDon:DictionaryDataSource ID="ddsRouteTypeId" runat="server" CategoryName="线路分类"
                                                EmptyItemType="Select">
                                            </NetDon:DictionaryDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>

                                    <NetDon:FormItem HeaderText="付款日期">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtPaymentOrIncomeDateStart" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="txtPaymentOrIncomeDateStart" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
                                            <asp:Label ID="Label1" runat="server" Text="~" Style="margin-left: 5px; margin-right: 6px"></asp:Label>
                                            <asp:TextBox ID="txtPaymentOrIncomeDateEnd" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" TargetControlID="txtPaymentOrIncomeDateEnd" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                           <NetDon:FormItem HeaderText="实发货日期" ColumnSpan="2" Key="SummaryDate">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtActualShippingDateStart" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="txtReceivingOrderDateStart_CalendarExtender" runat="server"
                                                Enabled="True" TargetControlID="txtActualShippingDateStart" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
                                            <asp:Label ID="Label2" runat="server" Text="~" Style="margin-left: 5px; margin-right: 6px"></asp:Label>
                                            <asp:TextBox ID="txtActualShippingDateEnd" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="txtReceivingOrderDateEnd_CalendarExtender" runat="server"
                                                Enabled="True" TargetControlID="txtActualShippingDateEnd" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
      
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                          
                                    <NetDon:FormItem HeaderText="付款方式">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlPaymentMethod" DataSourceID="ddsPaymentMethod" AppendDataBoundItems="True"
                                                runat="server" DataTextField="Name" DataValueField="Value">
                                            </asp:DropDownList>
                                            <NetDon:DictionaryDataSource ID="ddsPaymentMethod" runat="server" CategoryName="付款方式"
                                                EmptyItemType="Select">
                                            </NetDon:DictionaryDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                       
                                    <NetDon:FormItem HeaderText="未付运费">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtDeductionAmountStart" runat="server" SkinID="Text80" Style="text-align: right"></asp:TextBox>
                                            <NetDon:NumericEditExtender ID="NumericEditExtender3" runat="server" TargetControlID="txtDeductionAmountStart"
                                                DataMode="Double">
                                            </NetDon:NumericEditExtender>
                                            <asp:Label ID="Label3" runat="server" Text="~" Style="margin-left: 5px; margin-right: 6px"></asp:Label>
                                            <asp:TextBox ID="txtDeductionAmountEnd" runat="server" SkinID="Text80" Style="text-align: right"></asp:TextBox>
                                            <NetDon:NumericEditExtender ID="NumericEditExtender1" runat="server" TargetControlID="txtDeductionAmountEnd"
                                                DataMode="Double">
                                            </NetDon:NumericEditExtender>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    
                                                               <NetDon:FormItem HeaderText="司机姓名">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtDriverDriverName" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="承运公司">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlCompany" runat="server" DataSourceID="ObjectDataSourceCompany"
                                                DataTextField="CompanyName" DataValueField="CompanyId" AppendDataBoundItems="true">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ObjectDataSourceCompany" runat="server" OldValuesParameterFormatString="original_{0}"
                                                SelectMethod="RetrieveCompanies" TypeName="NetDon.OA.Business.MiscDataSource">
                                            </asp:ObjectDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                </Items>
                           </NetDon:FormPanel>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right">
                            <asp:Button ID="btnSearch" SkinID="Button60" runat="server" OnClick="btnSearch_Click"
                                Text="查询"></asp:Button>
                        </td>
                    </tr>
                </table>
            </asp:Panel>

        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
